#include<stdio.h>
#include<string.h>

int main()
{
  char* ch ="ab bc cd de";
  char* p[15];
  p[0]=strtok(ch," ");
 
  printf("p[0]:%s",p[0]);

  int i=0;
    while(p[i]=strtok(NULL," "));

  for(i=0;p[i];i++)
  {
      printf("p[%d]:%s\n",i,p[i]);
  }
  return 0;
}
